package com.stylefeng.guns.modular.system.dao;

import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lmshe
 * @create 2017-11-16 14:46
 * @desc
 */
public interface DocumentsDao {

    /**
     * @author lmshe
     * @create 14:46 2017/11/16
     * @desc 获取文档列表
     */
    List<Map<String, Object>> getDocumentsList(@Param("page") Page<Map<String,Object>> page,
                                               @Param("categoryId") Integer categoryId,
                                               @Param("categoryChildId") Integer categoryChildId,
                                               @Param("format") String format,
                                               @Param("priceType") Integer priceType,
                                               @Param("tag") String tag,
                                               @Param("documentName") String  documentName,
                                               @Param("orderByField") String orderByField, @Param("isAsc") boolean isAsc);
}
